package jschool.ui.PersonalEscolar;

import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import javax.swing.JButton;
import java.awt.Rectangle;
import java.awt.Dimension;

public class DialogoPanelAgregarPersonal extends JDialog {

	private static final long serialVersionUID = 1L;

	private PanelAgregarPersonalEscolar panelAgregarPesonalEscolar = null;

	private JButton btnAceptar = null;

	/**
	 * @param owner
	 */
	public DialogoPanelAgregarPersonal(Frame owner, String titulo) {
		super(owner);
		setModal(true);
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(583, 531);
		this.setContentPane(getJContentPane());
		this.setLayout(null);
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private PanelAgregarPersonalEscolar getJContentPane() {
		if (panelAgregarPesonalEscolar == null) {
			panelAgregarPesonalEscolar = new PanelAgregarPersonalEscolar();
			panelAgregarPesonalEscolar.setLayout(null);
			panelAgregarPesonalEscolar.add(getBtnAceptar(), null);
		}
		return panelAgregarPesonalEscolar;
	}

	/**
	 * This method initializes btnAceptar
	 * 
	 * @return javax.swing.JButton
	 */
	private JButton getBtnAceptar() {
		if (btnAceptar == null) {
			btnAceptar = new JButton();
			btnAceptar.setBounds(new Rectangle(345, 452, 106, 27));
			btnAceptar.setText("Aceptar");
		}
		return btnAceptar;
	}

	
	public static void main(String[] args) {
		new DialogoPanelAgregarPersonal( null, "Personal" ).setVisible( true );
	}
} // @jve:decl-index=0:visual-constraint="10,10"
